package com.example.spring.jpa.ast;

/**
 * @author: orange
 * @create: 2023-07-23 00:52
 * @description:
 */
public class AstStatic implements AstNode {
    private String sentence;
    private AstStatic() {}
    public AstStatic(String sentence) {
        this.sentence = sentence;
    }

    @Override
    public AstNode parse() throws Exception {
        return this;
    }

    @Override
    public String sentence() {
        return this.sentence;
    }
}
